Skip to content

查询支行列表

本接口可以用于根据银行别名编码(仅支持需要填写支行的银行别名编码)和城市编码过滤查询支行列表数据

请求参数类型描述
bank_alias_codestring银行别名编码
queryobject声明请求的查询参数
city_codeinteger城市编码
offsetinteger本次查询偏移量
limitinteger本次请求最大查询条数
php
$instance->v3->capital->capitallhh->banks->_bank_alias_code_->branches->getAsync([
  'bank_alias_code' => '1000006247',
  'query' => [
    'city_code' => 536,
    'offset' => 0,
    'limit' => 200,
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/capital/capitallhh/banks/{bank_alias_code}/branches')->getAsync([
  'bank_alias_code' => '1000006247',
  'query' => [
    'city_code' => 536,
    'offset' => 0,
    'limit' => 200,
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/capital/capitallhh/banks/{bank_alias_code}/branches']->getAsync([
  'bank_alias_code' => '1000006247',
  'query' => [
    'city_code' => 536,
    'offset' => 0,
    'limit' => 200,
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->capital->capitallhh->banks->_bank_alias_code_->branches->get([
  'bank_alias_code' => '1000006247',
  'query' => [
    'city_code' => 536,
    'offset' => 0,
    'limit' => 200,
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/capital/capitallhh/banks/{bank_alias_code}/branches')->get([
  'bank_alias_code' => '1000006247',
  'query' => [
    'city_code' => 536,
    'offset' => 0,
    'limit' => 200,
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/capital/capitallhh/banks/{bank_alias_code}/branches']->get([
  'bank_alias_code' => '1000006247',
  'query' => [
    'city_code' => 536,
    'offset' => 0,
    'limit' => 200,
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
total_countinteger查询数据总条数
countinteger本次查询条数
dataobject[]支行列表
bank_branch_namestring开户银行支行名称
bank_branch_idstring开户银行支行联行号
offsetinteger本次查询偏移量
linksobject分页链接
nextstring下一页链接
prevstring上一页链接
selfstring当前链接
account_bankstring开户银行
account_bank_codeinteger开户银行编码
bank_aliasstring银行别名
bank_alias_codestring银行别名编码

参阅 官方文档

Published on the GitHub by TheNorthMemory